<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
<meta charset="UTF-8"/>
    <link rel="icon" href="/views/img/logo.png" type="image/x-icon">
<link rel="shortcut icon" href="/views/img/logo.png" type="image/x-icon">
    <script src="/views/js/jquery-3.3.1.min.js" type="text/javascript"></script>
    <script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
    <script type="text/javascript">
        function redirect() {
            window.top.location = "/Login/";
        }
        function ChangeCodeimg() {
            Images = document.getElementById("ImageCheck");
            Images.src = "www.getCheakCode.com" + Math.random();
        }
		
        function showMsg(msgId, method, txt) {
            var msg, msgTemplate;
            msg = {
                errorUserName: "您输入的用户帐号不正确，请重新输入。",
                emptyUserName: "请填写您的用户帐号。",
                emptyPassword: "请填写登录密码。",
                emptyVerifyCode: "请填写验证码。",
                errorPassowrdTooLong: "登录密码不能超过100个字符。",
                errorNamePassowrd: "您填写的帐号或密码不正确，请再次尝试。",
                errorVerifyCode: "您填写的验证码不正确。",
                errorUserRole: "您的用户帐号不具有管理员身份,不能登陆。",
                errorLogonTimeout: "您的用户帐号登录超时，请重新登陆。",
                frequent: "您登录次数过于频繁，为保障安全，请输入验证码。",
                errorBlockIPErr: "您的IP已被暂时屏蔽，不能登陆，请迟一些时候再尝试。",
                errorBindIP: "您的管理帐号已经绑定指定的IP地址登录。",
                errorNullity: "您的帐号已被禁止使用，请联系管理员了解详细情况。",
                errorDeadLine: "您的账号已到期。",
                errorUnknown: "服务器未知错误，请稍后再试！"
            };
            if (msgId != undefined && msgId != "") {
                if (!txt) txt = msg[msgId];
                alert(txt);
                return true;
            }
            else {
                return false;
            }
        }
        function CheckInput() {
            var accounts = $("#txtLoginName").val();
            var pass = $("#txtLoginPass").val();
            if(accounts){
            	if(pass){
                    $.post("/hthome/", {
                        "name" : accounts,
                        "password" : pass
                    }, function(data) {
                        var data1 = $.parseJSON(data);
                        if(data1.state == 1){
                            location.href="/HtIndex/";
                        }else{
                            alert(data1.msg);
                        }
                    });
            	}else{
            		showMsg("emptyPassword");
                    $("#txtLoginPass").focus();
            	}
            }else{
            	showMsg("emptyUserName");
                $("#txtLoginName").focus();
            }
            
        }
        $(document).ready(function() {
            $("#txtLoginName").focus();
        });
    </script>
    <title>
	 银泰电玩城后台管理系统 - 管理员登录
</title>
    <style type="text/css">
    	body{
    		background-image: url(/views/img/loginBg.jpg);
    		font-family: "宋体";
    		font-size: 12px;
    	}
    	.hui6{ color:#666666;}
    </style>
</head>
<body>
    <br /><br /><br /><br /><br /><br /><br /><br /><br />
    <div  id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJMzYwODk2MTQyZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUIYnRuTG9naW5ENG+HW42Pk/kXXBrelWmyxvrZlnzpZWe2TllZOUJedQ==" />
</div>

<div>
	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBQLdoerpBAKpwK/OBgLVkPDQDgKX++fdCAKC3IeGDJpjLjvQ3bsDO3wVPfPNbUjRLbW7oT6SdXWJYhTHCMXA" />
</div>
    <table width="705" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <table width="705" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="125">
                            &nbsp;
                        </td>
                        <td width="581">
                            <span style=" padding:110px;"><img src="/views/img/AdminLogo.png" /></span>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="background-image:url(/views/img/login01.png)" width="705" height="50">
              
            </td>
        </tr>
        <tr>
            <td background="/views/img/login02.png" width="705" height="235">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="301" height="33">
                            &nbsp;
                        </td>
                        <td width="73" height="33" class="f14" align="right">
                            帐 号：
                        </td>
                        <td width="331" height="33">
                            <input name="txtLoginName" type="text" id="txtLoginName" class="text" />
                        </td>
                    </tr>
                    <tr>
                        <td width="301" height="33">
                            &nbsp;
                        </td>
                        <td height="33" class="f14" align="right">
                            密 码：
                        </td>
                        <td height="33">
                            <input name="txtLoginPass" type="password" id="txtLoginPass" class="text" />
                        </td>
                    </tr>
                    <tr>
                        <td width="301" height="30">
                            &nbsp;
                        </td>
                        <td height="30">
                            &nbsp;
                        </td>
                        <td height="30">
                            <input type="image" name="btnLogin" id="btnLogin" src="/views/img/loginBtn.jpg" onclick="return CheckInput();" style="height:34px;width:86px;border-width:0px;" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td width="705" height="54" align="center" background="/views/img/login03.png" style="color: #115287;">
            </td>
        </tr>
        <tr>
            <td>
                <img src="/views/img/login04.png" width="705" height="46" />
            </td>
        </tr>
        <tr>
            <td>
                <img src="/views/img/login05.png" width="705" height="53" />
            </td>
        </tr>
    </table>
    </div>
</body>
</html>
